<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>价格干预管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
			
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
			return false;
		}
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li><a href="${ctx}/priceup/tPriceup/">平台加价列表</a></li>
		<li class="active"><a href="${ctx}/priceup/tPriceupHist/?upid=${tHist.upid}">价格干预列表</a></li>
	</ul>
	<form:form id="searchForm" modelAttribute="tPriceupHist" action="${ctx}/priceup/tPriceupHist/?upid=${tHist.upid}" method="post" class="breadcrumb form-search">
		<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
		<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
		调整记录一览表
	</form:form>
	<sys:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>客户类型</th>
				<th>调整前比例（%）</th>
				<th>调整后比例（%）</th>
				<th>操作人</th>
				<th>操作日期</th>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="tPriceupHist">
			<tr>
				<td>
				${fns:getDictLabel(tPriceupHist.custtype, 'flattype', '无')}
				</td>
				<td>
					${tPriceupHist.preratio}
				</td>
				<td>
					${tPriceupHist.postratio}
				</td>
				<td>
					${tPriceupHist.createBy.name}
				</td>
				<td>
					<fmt:formatDate value="${tPriceupHist.createDate}" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>